package org.gw.building.ctrl;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import org.gw.building.model.Term;

public class StudentDispatchForm {
	private String claaName;
	private Integer memberSize;
	private String students;
	private Term term;

	public String getClaaName() {
		return claaName;
	}

	public void setClaaName(String claaName) {
		this.claaName = claaName;
	}

	public Integer getMemberSize() {
		return memberSize;
	}

	public void setMemberSize(Integer memberSize) {
		this.memberSize = memberSize;
	}

	public JSONArray getStudentsArray() {
		JSONArray array = JSON.parseArray(students);
		return array;
	}

	public String getStudents() {
		return students;
	}

	public void setStudents(String students) {
		this.students = students;
	}

	public Term getTerm() {
		return term;
	}

	public void setTerm(Term term) {
		this.term = term;
	}

	@Override
	public String toString() {
		return "StudentDispatchForm [claaName=" + claaName + ", memberSize=" + memberSize + ", students=" + students
				+ "]";
	}

}
